package com.hzm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzm.entity.Chapter;
import com.hzm.utils.Result;

/**
 * @program: qy137-java
 * @description:
 * @author: 皇子明
 * @create: 2021-10-23 09:52
 **/
public interface ChapterService extends IService<Chapter> {
    Result findChapterByCoursId(String courseId);

    Result findChapterById(String id);

    Result insertChapter(Chapter chapter);

    Result deleteChapterWithCourseId(Chapter chapter);
}
